package com.ccsoft.atools.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Vue3goods implements Serializable {
    private Integer id;

    private String name;

    private BigDecimal old_price;

    private BigDecimal new_price;

    private String desc;

    private Integer status;

    private String img_url;

    private Integer inventory_count;

    private Integer sale_count;

    private Integer favor_count;

    private String address;

    private Integer category_id;

    private Date create_at;

    private Date update_at;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public BigDecimal getOld_price() {
        return old_price;
    }

    public void setOld_price(BigDecimal old_price) {
        this.old_price = old_price;
    }

    public BigDecimal getNew_price() {
        return new_price;
    }

    public void setNew_price(BigDecimal new_price) {
        this.new_price = new_price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url == null ? null : img_url.trim();
    }

    public Integer getInventory_count() {
        return inventory_count;
    }

    public void setInventory_count(Integer inventory_count) {
        this.inventory_count = inventory_count;
    }

    public Integer getSale_count() {
        return sale_count;
    }

    public void setSale_count(Integer sale_count) {
        this.sale_count = sale_count;
    }

    public Integer getFavor_count() {
        return favor_count;
    }

    public void setFavor_count(Integer favor_count) {
        this.favor_count = favor_count;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Integer category_id) {
        this.category_id = category_id;
    }

    public Date getCreate_at() {
        return create_at;
    }

    public void setCreate_at(Date create_at) {
        this.create_at = create_at;
    }

    public Date getUpdate_at() {
        return update_at;
    }

    public void setUpdate_at(Date update_at) {
        this.update_at = update_at;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", old_price=").append(old_price);
        sb.append(", new_price=").append(new_price);
        sb.append(", desc=").append(desc);
        sb.append(", status=").append(status);
        sb.append(", img_url=").append(img_url);
        sb.append(", inventory_count=").append(inventory_count);
        sb.append(", sale_count=").append(sale_count);
        sb.append(", favor_count=").append(favor_count);
        sb.append(", address=").append(address);
        sb.append(", category_id=").append(category_id);
        sb.append(", create_at=").append(create_at);
        sb.append(", update_at=").append(update_at);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}